import Layout from '@/layout'
export default{
    path: '/employees',
    component: Layout,
    meta:{ name: 'employees'},
    children: [{
      path: '',
      component: () => import(/* webpackChunkName: "employees" */'@/views/employees/index'),
      meta: { title: '员工', icon: 'user'}
    },
    {
      path: 'detail',
      component: () => import(/* webpackChunkName: "employees" */'@/views/employees/detail'),
      hidden: true,
      meta: { title: '员工详情' },
      props({ query: { id } }){
        return {
          id
        }},
    },
    {
      
      path: 'upload',
      hidden: true,
        component: () => import('@/views/excel/upload-excel.vue'),
        meta: { title: 'execl上传' },
      
    },
  
  ]
}
